<%@ page language="java" import="java.util.*" pageEncoding="UTF-8" isELIgnored="false" session="true"%>
<%@taglib prefix="s" uri="http://www.springframework.org/tags"%>
<%
    String path = request.getContextPath();
    String basePath = request.getScheme() + "://" + request.getServerName() + ":" + request.getServerPort() + path + "/";
%>

<!DOCTYPE html>
<html>
<head>
    <base href="<%=basePath%>">
    <title><s:message code="M_3710_TOOL_PM_ITEM_SETTING_TAG" /></title>
    <%@ include file="/page/comPage/comCSS.html"%>
    <%@ include file="/page/comPage/navbar.html"%>
</head>
<body>
	<div class="container-fluid">
	    <div class="col-sm-12 btnDivCss">
	       <%-- <button class="btn btn-info" id="query_btn"><s:message code="QUERY_TAG" /></button>--%>
        	<input id="select_btn"  type="file" class="form-control  file" accept=".xls,.xlsx" style="display: none" />
			<button class="btn btn-primary" id="add_btn"><s:message code="ADD_TAG" /></button>
			<button class="btn btn-success" id="save_btn"><s:message code="SAVE_TAG" /></button>
			<button class="btn btn-primary" id="import_btn">EXCEL<s:message code="IMPORT_TAG" /></button>
			<button class="btn btn-warning" id="export_btn">EXCEL<s:message code="EXPORT_TAG" /></button>
        	<button class="btn btn btn-warning" id="download_btn">EXCEL<s:message code="IMPORT_STENCIL"/></button>
	    </div>
	    <div class="col-sm-12" id="leftDiv">
			<form id="pmItemConditionForm" class="form-horizontal">
				<div class="row">
					<div class="control-group col-sm-5">
						<label class="control-label col-sm-4" for="toolRunModeSel">
							<s:message code="TOOL_RUN_MODEL_TAG" />
						</label>
						<div class="col-sm-6">
							<select id="toolRunModeSel" class="form-control"></select>
						</div>
					</div>
				</div>
			</form>
		</div>
		<div class="col-sm-12" id="divTop">
		    <fieldset>
                <legend><s:message code="PM_PLAN_ITEM_LIST_TAG" /></legend>
            </fieldset>
			<div id="pmItemListDiv">
				<table id="pmItemListGrd" style="height: 1px;"></table>
				<div id="pmItemListPg"></div>
			</div>
		</div>
	</div>
	<!-- 保养项目新增&修改 Dialog -->
	<div id="PMItemDialog" class="modal fade" tabindex="-1" role="dialog" aria-labelledby="title" aria-hidden="true">
		<div class="modal-dialog">
			<div class="modal-content">
				<div class="modal-header">
					<button type="button" class="close" data-dismiss="modal" aria-hidden="true">&times;</button>
					<h3 class="modal-title">
						<span id="PMItemDialog_titleTxt" class="help-inline"></span>
                       </h3>
				</div>
				<!--Modal header-->
				<div class="modal-body">
					<form id="PMItemDialog_dataCateForm" class="form-horizontal row">
						<label class="control-label col-sm-4 keyClass" for="PMItemDialog_pmTypeSel">
							<s:message code="PM_TYPE_TAG" />
						</label>
						<div class="col-sm-6">
							<select id="PMItemDialog_pmTypeSel" class="form-control"></select>
						</div>
						<label class="control-label col-sm-4 keyClass" for="PMItemDialog_dataDscTxt">
							<s:message code="PM_DATA_DSC_TAG" />
						</label>
						<div class="col-sm-6">
							<input type="text" id="PMItemDialog_dataDscTxt" class="form-control"/>
						</div>
						<label class="control-label col-sm-4" for="PMItemDialog_uSpecTxt">
							<s:message code="U_SPEC_TAG" />
						</label>
						<div class="col-sm-6">
							<input type="text" id="PMItemDialog_uSpecTxt" class="form-control numberCss"/>
						</div>
						<label class="control-label col-sm-4" for="PMItemDialog_lSpecTxt">
							<s:message code="L_SPEC_TAG" />
						</label>
						<div class="col-sm-6">
							<input type="text" id="PMItemDialog_lSpecTxt" class="form-control numberCss"/>
						</div>
						<label class="control-label col-sm-4" for="PMItemDialog_dataTypeSel">
							<s:message code="DATA_TYPE_TAG" />
						</label>
						<div class="col-sm-6">
							<select id="PMItemDialog_dataTypeSel" class="form-control">
								<option value="数值">数值</option>
								<option value="文本">文本</option>
							</select>
						</div>
						<label class="control-label col-sm-4" for="PMItemDialog_sampleQtyTxt">
							<s:message code="SAMPLE_QTY_TAG" />
						</label>
						<div class="col-sm-6">
							<input type="text" id="PMItemDialog_sampleQtyTxt" class="form-control intCss"/>
						</div>
                        <label class="control-label col-sm-4 keyClass" for="PMItemDialog_toolPmNoteTxt">
                            <s:message code="TOOL_PM_NOTE_TAG" />
                        </label>
                        <div class="col-sm-6">
                            <input type="text" id="PMItemDialog_toolPmNoteTxt" class="form-control" />
                        </div>
                    </form>
				</div>
				<!--Modal body-->
				<div class="modal-footer">
					<a id="PMItemDialog_cancelBtn" class="btn" data-dismiss="modal"> <s:message code="CANCEL_TAG" />
					</a> <a id="PMItemDialog_saveBtn" class="btn btn-primary"> <s:message code="SURE_TAG" />
					</a>
				</div>
				<!--Modal footer-->
			</div>
		</div>
	</div>
	<%@ include file="/page/comPage/comJS.html"%>
	<script src="js/page/3000/3710.js?v=2016110801"></script>
	<script src="lib/fileinput/js/xlsx.full.min.js"></script>
</body>
</html>